<template>
  <div class="base-navbar">
    <van-nav-bar
      fixed
      placeholder
      :border="false"
      @click-left="back"
      v-bind="$attrs"
    >
      <template #title>
        <div class="fz-16 fw-bold">{{ title }}</div>
      </template>
    </van-nav-bar>
  </div>
</template>

<script setup>
const props = defineProps(['title'])

function back() {
  history.back()
}
</script>

<style lang="scss" scoped></style>
